package com.yn.pet.controller.pc.response.page;

import com.yn.pet.controller.pc.response.DeviceGroupResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class GroupPageResponse  {

    @ApiModelProperty(value = "全部设备总数")
    private Integer deviceTotalCount;

    //在线个数
    @ApiModelProperty(value = "在线个数")
    private Integer onlineCount;

    //离线个数
    @ApiModelProperty(value = "离线个数")
    private Integer offlineCount;

    @ApiModelProperty(value = "数据列表")
    private List<DeviceGroupResponse> records;

    @ApiModelProperty(value = "总记录数")
    private long total;

    @ApiModelProperty(value = "每页显示记录数")
    private long size;

    @ApiModelProperty(value = "当前页")
    private long current;

    @ApiModelProperty(value = "是否查询列表")
    private Boolean optimizeCountSql;

    @ApiModelProperty(value = "总页数")
    private long pages;


}
